package playingCAEDS;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {

        CarDemo carDemo = new CarDemo();
        List<Card> ret =carDemo.buyCard();
        System.out.println("新牌:");
        System.out.println(ret);
        carDemo.shuffle(ret);
        System.out.println("洗牌:");
        System.out.println(ret);
        System.out.println("发牌:");


        List<List<Card>> ret2 = carDemo.person(ret);
        for (int i = 0; i < ret2.size(); i++) {
            System.out.println(ret2.get(i));
        }

    }
}
